package com.be.beadmin.product.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author Jiahao Liu
 * @CreateTime 2023-03-26
 * @Description 产能基础数据
 */
@Entity
@Table(name="T_OM_PlantCapacityBase")
@Getter
@Setter
public class PlantCapacityBase extends BaseEntity {

    @Column(name = "NormalCapacity",columnDefinition = "float COMMENT '正常产能(小时)' ")
    private float normalCapacity;

    @Column(name = "OvertimeCapacity",columnDefinition = "float COMMENT '加班产能(小时)' ")
    private float overtimeCapacity;

    @Column(name = "TotalCapacity",columnDefinition = "float COMMENT '总产能(小时)' ")
    private float totalCapacity;

    @Column(name = "ProcessCode",columnDefinition = "VARCHAR(50) COMMENT '加工工序编码' ")
    private String processCode;

    @Column(name = "ProcessName",columnDefinition = "VARCHAR(50) COMMENT '加工工序名称' ")
    private String processName;

    @Column(name = "WorkerQty",columnDefinition = "int COMMENT '人数' ")
    private int workerQty;

    @Column(name = "NormalTime",columnDefinition = "float COMMENT '每天正常工作时长(小时)' ")
    private float normalTime;

    @Column(name = "ShiftQty",columnDefinition = "int COMMENT '每天班次数' ")
    private int shiftQty;

    @Column(name = "Efficiency",columnDefinition = "float COMMENT '工作效率(%)' ")
    private float efficiency;

    @Column(name = "OverTime",columnDefinition = "float COMMENT '加班时长(小时)' ")
    private float overTime;

}
